-- GENERATED SPELL FOR [Gundrak Brute] --


function spell0_29236(pUnit, Event) --@Brute Force,Self--
pUnit:FullCastSpellOnTarget(54678,pUnit)
pUnit:RegisterEvent('Sorts_29236', 12272, 1)
end

function Sorts_29236(pUnit, Event)
local choix_sorts_29236 = math.random(0, 0)
if choix_sorts_29236 == 0 then
pUnit:RegisterEvent('spell0_29236', 1, 1)
end
end

function mob29236_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29236', math.random(1500, 3000), 1)
end

function mob29236_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29236_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29236_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29236, 1, 'mob29236_Action')
RegisterUnitEvent(29236, 2, 'mob29236_Leave')
RegisterUnitEvent(29236, 3, 'mob29236_Kill')
RegisterUnitEvent(29236, 4, 'mob29236_Die')
